visitedIcon
Type
property
Summary
Specifies an image to display in a button when the button's visited property is true.
Syntax
set the visitedIcon of <button> to {<imageID> | <imageName>}
Description
Use the visitedIcon property to change a button's appearance when it has been clicked during the current session.
When the button has been clicked during the current session, the visitedIcon is displayed within the button's rectangle instead of the icon (if one has been specified).
Examples
set the visitedIcon of button "To Do List" to 5499
set the visitedIcon of me to the ID of image "Done"
Value
Name | Type | Description |
---|---|---|
value | The visitedIcon property is the ID or name of an image to use for an icon. LiveCode looks for the specified image first in the current stack, then in other open stacks. By default, the visitedIcon property of newly created buttons is set to zero. |
Related
function: stacks
glossary: property, current stack
object: button
property: icon, visited, name, ID
Compatibility and Support
Introduced
LiveCode 1.1
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile